package com.youi.service;

import com.youi.entity.Ordergoods;
import com.youi.entity.Userorder;

import java.util.List;

public interface OrdergoodsService extends BaseService<Ordergoods>{

	/**
	 * 模糊搜索返回商品id
	 * @param searchParam
	 * @return
	 */
	public List<String> getGoodsIdList(String pms);
	
	/**
	 * 查询订单id 根据商品编号
	 */
	public List<Long> getOrderIds(String goodsNo);
	
	public Userorder getUserorder(Ordergoods ordergoods);

	/**
	 * 查询订单商品
	 * @param orderId
	 * @return
	 */
	List<Ordergoods> listByOrderId(Long orderId);
}